package com.kehutong.payfees.enums;

import org.coraframework.util.HashID;

/**
 * Author:  peter
 * Date:    2020/7/10
 * Function:账单操作类型
 */
public enum BillOperateType implements HashID {

    CREATE("1", "创建"),
    UPDATE_INFO("2", "修改信息"),
    DELETE("3", "删除"),
    UPDATE_ENABLE_ON("4", "启用缴费任务"),
    MANUAL_UPDATE_PAID_STATE("5", "手工缴费"),
    UPDATE_CALL_CONFIG("6", "修改催缴设置"),
    UPDATE_ENABLE_OFF("7", "关闭缴费任务"),
    DO_SEND_MP_BILL_NOTIFY("8", "发送缴费通知-公众号"),
    DO_SEND_WORK_BILL_NOTIFY("9", "发送缴费通知-企业微信群发"),

    ;
    private final String id;
    private final String desc;

    BillOperateType(String id, String desc) {
        this.id = id;
        this.desc = desc;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}